#tracker/main
#set(SOURCE_FILES tracker_main.cpp)

# 加入外面的库
LINK_LIBRARIES(detection)

#找到opentracker的库
find_library(OpenTracker_LIBS libopentracker.so /usr/local/lib)

add_subdirectory(apriltag)

FILE(GLOB SOURCE_FILES *.hpp *.cpp
        )

# 生成可执行文件
#add_executable(tracker tracker_main.cpp)
add_executable(${PROJECT_NAME} ${SOURCE_FILES})

# Link your application with OpenCV libraries
target_link_libraries(
        tracker
        ${OpenTracker_LIBS}
	apriltag
	${OpenCV_LIBS}
)
